import { createApp } from "vue";
import "./assets/scss/index.css";
import App from "./App.vue";
import router from "./router/index";
import "amfe-flexible";
import store from "./store";
import VuePdf from "vue3-pdfjs";

import {
  NavBar,
  Tab,
  Tabs,
  Toast,
  Popup,
  DatetimePicker,
  Picker,
  Loading,
  Overlay,
  Icon,
  Progress,
  Swipe,
  SwipeItem,
  Divider,
  Field,
  DropdownMenu,
  DropdownItem,
  Button,
  Popover
} from "vant";
import Vue3Marquee from "vue3-marquee";
import "vue3-marquee/dist/style.css";
// import "xe-utils"
// import VXETable from "vxe-table"
// import "vxe-table/lib/style.css"
//引入特定组件及样式
import "element-plus/dist/index.css";
import { ElTable } from "element-plus";
import VConsole from "vconsole";
// 初始化
//生产注释掉
// var vConsole = new VConsole()
//加密方法
import GetNetUtil from "@/utils/GetNetUtil";
const app = createApp(App);
app.config.globalProperties.$GetNetUtil = GetNetUtil;
//全局配置
app.use(router);
app.use(store);
app.use(NavBar);
app.use(Popup);
app.use(DatetimePicker);
app.use(Picker);
app.use(Overlay);
app.use(ElTable);
app.use(Loading);
app.use(Tab);
app.use(Tabs);
app.use(Icon);
app.use(Field);
app.use(Toast);
app.use(Progress);
app.use(Swipe);
app.use(SwipeItem);
app.use(Divider);
app.use(DropdownMenu);
app.use(DropdownItem);
app.use(Vue3Marquee);
app.use(Button);
app.use(VuePdf);
app.use(Popover);
app.mount("#app");
